/*
============================================================================
 Name        : $(GuiBasename).pan
 Author      : $(Author)
 Version     :
 Copyright   : $(Copyright)
 Description : 
============================================================================
*/

#ifndef __$(GUIBASENAME)_PAN__
#define __$(GUIBASENAME)_PAN__

/** $(GuiBasename) application panic codes */
enum T$(GuiBasename)Panics
	{
	E$(GuiBasename)Ui = 1
	// add further panics here
	};

inline void Panic(T$(GuiBasename)Panics aReason)
	{
	_LIT(applicationName,"$(GuiBasename)");
	User::Panic(applicationName, aReason);
	}

#endif // __$(GUIBASENAME)_PAN__
